package online.inote.modules.user.entity;

import java.util.Date;

import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;
import online.inote.common.annotation.GenerateMapper;
import online.inote.common.base.IdEntity;

/**
 * <p>
 * Desc: 测试Demo Model
 * </p>
 *
 * @author Sui
 * @created: 2017年12月9日 下午11:48:38
 * @version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_user")
@GenerateMapper(isGenerateService = true, sqlSessionFactoryBeanName = "slaveSqlSessionFactory", transactionManager = "slaveTransactionManager")
public class UserEntity extends IdEntity {

	private static final long serialVersionUID = -6671403788122042946L;

	private String name;
	private Integer age;
	private Date birthDate;
}
